import request from '@/utils/request'
// --------  内容管理 --------

let BASE_ADDRESS = '/work/doc'

// esId查询
export const getDocSelectEsIdApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/selectEsId`,
        method: 'get',
        params: data
    })
}

// id查询
export const getDocGetInfoApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo?id=${params}`,
        method: 'get',

    })
}
// 三大类的数据
export const getDocSelectEsAllApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/selectEsAll`,
        method: 'get',
        params
    })
}